package com.shuoyue.ycgk.ui.questionbank.practice.specialtraining;

import java.io.Serializable;
import java.util.Objects;

import lombok.Data;

/**
 * 统计考点信息
 */
@Data
public class EpInfo implements Serializable {
    int epId;
    String epName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        EpInfo epInfo = (EpInfo) o;
        return Objects.equals(epName, epInfo.epName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(epName);
    }
}
